The getch function reads a single character from the console with no echo.
The getche function reads a single character from the console with echo.
#include <conio.h> int getch(void); int getche(void);
Getch and getche are implemented using the INtime console functions.
The integer value of the character read.
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 6.0 | intime/rt/include/conio.h | conio.h | clib.lib |